{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:18.409597Z",
     "start_time": "2018-10-19T14:09:18.060613Z"
    },
    "collapsed": true,
    "hide_input": false
   },
   "outputs": [],
   "source": [
    "import torch\n",
    "import torch.nn as nn\n",
    "import torch.nn.functional as F\n",
    "from torch.autograd import Variable\n",
    "from torch.optim.lr_scheduler import StepLR\n",
    "from torch.utils.data import DataLoader,TensorDataset\n",
    "import torch.utils.data as data\n",
    "import numpy as np\n",
    "import scipy.io as sio\n",
    "import math\n",
    "import argparse\n",
    "import random\n",
    "import os\n",
    "from My_Loss import HardTripletLoss\n",
    "from My_Loss import HardTripletLoss2\n",
    "from My_Loss import HardTripletLoss_D\n",
    "from tensorboardX import SummaryWriter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:18.412786Z",
     "start_time": "2018-10-19T14:09:18.410541Z"
    },
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "BATCH_SIZE = 64\n",
    "EPISODE = 200000\n",
    "TEST_EPISODE = 1000\n",
    "LEARNING_RATE =2e-5\n",
    "Weight_Deacy = 1e-6\n",
    "GPU = 0\n",
    "Margin = 3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:19.401423Z",
     "start_time": "2018-10-19T14:09:18.413775Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "init dataset\n",
      "----------------------------------------------------------------------------------------------------\n"
     ]
    }
   ],
   "source": [
    "print(\"init dataset\")\n",
    "##################################参数##################################################################\n",
    "dataroot = '../data'\n",
    "dataset = 'APY_data'\n",
    "image_embedding = 'res101'               #ResNet101层\n",
    "class_embedding = 'att'         #属性表达 85-d\n",
    "#######################################读取视觉特征###################################################################\n",
    "\n",
    "matcontent = sio.loadmat(dataroot + \"/\" + dataset + \"/\" + image_embedding + \".mat\")  #scipy loadmat\n",
    " \n",
    "feature = matcontent['features'].T         #转置 30478x2048 每一行是一个完整的样本\n",
    "\n",
    "label = matcontent['labels'].astype(int).squeeze() - 1   #matlab begin 1 ,numpy begin 0\n",
    "########################################读取属性特征###########################################################\n",
    "\n",
    "matcontent = sio.loadmat(dataroot + \"/\" + dataset + \"/\" + class_embedding + \"_splits.mat\")\n",
    "    \n",
    "# numpy array index starts from 0, matlab starts from 1\n",
    "trainval_loc = matcontent['trainval_loc'].squeeze() - 1    #squeeze()去掉维度中的1 AxBx1 --->AxB\n",
    "\n",
    "test_seen_loc = matcontent['test_seen_loc'].squeeze() - 1\n",
    "test_unseen_loc = matcontent['test_unseen_loc'].squeeze() - 1\n",
    "\n",
    "attribute = matcontent['att'].T    #转置 50x85 每行是整个属性向量\n",
    "\n",
    "x = feature[trainval_loc]                      # train_features trainval里面是图片的编号 begin with 0 ，19832个\n",
    "train_label = label[trainval_loc].astype(int)  # train_label  int类型没变 每个图片的lable 19832个\n",
    "train_id = np.unique(train_label)\n",
    "\n",
    "att = attribute[train_label]                   # train attributes 每个图片的属性 19832个\n",
    "\n",
    "########################add negative pairs#######################\n",
    "#x_negative = np.empty_like(x)\n",
    "#x_negative_label = np.empty_like(train_label)\n",
    "#print(x.shape[0])\n",
    "\n",
    "#for i in range(x.shape[0]):\n",
    "#    pick=np.random.choice(np.where(train_label[i]!=train_id)[0], replace=True)\n",
    "#    x_negative[i] = x[pick]\n",
    "#    x_negative_label[i] = train_label[pick]\n",
    "    \n",
    "x_test = feature[test_unseen_loc]                   # test_feature 5685个\n",
    "test_label = label[test_unseen_loc].astype(int)     # test_label   5685个\n",
    "\n",
    "x_test_seen = feature[test_seen_loc]                #test_seen_feature 4958个\n",
    "test_label_seen = label[test_seen_loc].astype(int)  # test_seen_label  4958个\n",
    "    \n",
    "test_id = np.unique(test_label)                     # test_id  10个类 ，unique去重\n",
    "att_pro = attribute[test_id]                        # test_attribute 每一类的属性向量 10x85\n",
    "\n",
    "# train set\n",
    "train_features = torch.from_numpy(x)   #np-->tensor\n",
    "#train_fearures_negative = torch.from_numpy(x_negative)\n",
    "\n",
    "sample_attributes=[]\n",
    "train_label = torch.from_numpy(train_label).unsqueeze(1) #每张图片的属性转化 ，unsqueeze(1)就是插入到第一维度 AxB维-->Ax1xB\n",
    "#train_negative_label = torch.from_numpy(x_negative_label).unsqueeze(1)\n",
    "# attributes\n",
    "all_attributes = np.array(attribute)  #所有50类属性转变为numpy数组???属性向量仍然用的numpy类型 没有转化为pytorch\n",
    "#print(all_attributes)\n",
    "    \n",
    "#print('-'*50)\n",
    "attributes = torch.from_numpy(attribute) \n",
    "#print(attribute)\n",
    "# test set\n",
    "\n",
    "test_features = torch.from_numpy(x_test)\n",
    "#print(test_features.shape)\n",
    "\n",
    "test_label = torch.from_numpy(test_label).unsqueeze(1)\n",
    "#print(test_label.shape)\n",
    "\n",
    "testclasses_id = np.array(test_id)\n",
    "#print(testclasses_id.shape)\n",
    "\n",
    "test_attributes = torch.from_numpy(att_pro).float()\n",
    "#print(test_attributes.shape)\n",
    "\n",
    "test_seen_features = torch.from_numpy(x_test_seen)\n",
    "#print(test_seen_features.shape)\n",
    "\n",
    "test_seen_label = torch.from_numpy(test_label_seen)\n",
    "\n",
    "train_data = TensorDataset( train_label, train_features )\n",
    "#train_data = TensorDataset(train_label, train_features, train_fearures_negative)\n",
    "\n",
    "#################here need new code to make triplet data#####################\n",
    "print('-'*100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:19.404580Z",
     "start_time": "2018-10-19T14:09:19.402505Z"
    },
    "collapsed": true,
    "hide_input": false
   },
   "outputs": [],
   "source": [
    "from my_net_3 import AttributeNetwork\n",
    "from my_net_3 import MetricNetwork"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:21.368197Z",
     "start_time": "2018-10-19T14:09:19.405501Z"
    },
    "hide_input": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "init networks\n",
      "----------------------------------------------------------------------------------------------------\n"
     ]
    }
   ],
   "source": [
    "# init network\n",
    "print(\"init networks\")\n",
    "attribute_network = AttributeNetwork(64,1600,2048)  #85d属性 1024隐藏层 2048输出 85d到2048d\n",
    "metric_network = MetricNetwork(2048,1600,2048)\n",
    "#triplet_network = TripletNetwork(attribute_network, metric_network)  #metric learning   \n",
    "attribute_network.cuda(GPU) \n",
    "metric_network.cuda(GPU)\n",
    "#attribute_network_optim = torch.optim.Adam(attribute_network.parameters(), lr=LEARNING_RATE, weight_decay=1e-5)\n",
    "#优化器adam 学习率 正则1e-5\n",
    "\n",
    "#attribute_network_scheduler = StepLR(attribute_network_optim, step_size=200000, gamma=0.5)\n",
    "#学习率每200k步 乘0.5\n",
    "attribute_network_optim = torch.optim.Adam(attribute_network.parameters(), lr=LEARNING_RATE,weight_decay=Weight_Deacy)\n",
    "metric_network_optim = torch.optim.Adam(metric_network.parameters(), lr=LEARNING_RATE,weight_decay=Weight_Deacy)\n",
    "#\n",
    "#triplet_network_optim = torch.optim.SGD(triplet_network.parameters(), lr=LEARNING_RATE,momentum=0.9 , \n",
    "#                                         weight_decay=Weight_Deacy)\n",
    "\n",
    "attribute_network_scheduler = StepLR(attribute_network_optim , step_size=40000 , gamma=0.5)\n",
    "metric_network_scheduler = StepLR(metric_network_optim , step_size=40000 , gamma=0.5)\n",
    "#\n",
    "print('-'*100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:21.376379Z",
     "start_time": "2018-10-19T14:09:21.369802Z"
    },
    "collapsed": true,
    "hide_input": true
   },
   "outputs": [],
   "source": [
    "def compute_accuracy(test_features, test_label, test_id, test_attributes):\n",
    "    \n",
    "    test_data = TensorDataset(test_features, test_label)\n",
    "    test_batch = 32\n",
    "    test_loader = DataLoader(test_data, batch_size=test_batch, shuffle=False)\n",
    "    total_rewards = 0\n",
    "\n",
    "    sample_labels = test_id\n",
    "    sample_attributes = test_attributes\n",
    "    class_num = sample_attributes.shape[0]\n",
    "    test_size = test_features.shape[0]\n",
    "\n",
    "    print(\"class num:\", class_num)\n",
    "\n",
    "    for batch_features,batch_labels in test_loader:\n",
    "\n",
    "        batch_size = batch_labels.shape[0]\n",
    "        batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(class_num, 0))\n",
    "        batch_features_ext = metric_network(Variable(batch_features_ext).cuda(GPU).float())  # 32*1024\n",
    "\n",
    "        #print(batch_features_ext)\n",
    "\n",
    "        sample_features = metric_network(attribute_network(Variable(sample_attributes).cuda(GPU).float()))\n",
    "        sample_features_ext = sample_features.repeat(batch_size, 1)\n",
    "        #print(sample_features_ext.shape)\n",
    "\n",
    "\n",
    "        relations = F.pairwise_distance(batch_features_ext, sample_features_ext, 2).view(-1, class_num)\n",
    "        re_batch_labels = []\n",
    "        for label in batch_labels.numpy():\n",
    "            index = np.argwhere(sample_labels == label)\n",
    "            re_batch_labels.append(index[0][0])\n",
    "        re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "\n",
    "\n",
    "        _, predict_labels = torch.min(relations.data, 1)\n",
    "        #print(predict_labels)\n",
    "        rewards = [1 if predict_labels[j] == re_batch_labels[j] else 0 for j in range(batch_size)]\n",
    "        total_rewards += np.sum(rewards)\n",
    "    test_accuracy = total_rewards/1.0/test_size\n",
    "    return  test_accuracy"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T14:09:21.385977Z",
     "start_time": "2018-10-19T14:09:21.377782Z"
    },
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def compute_accuracy_per_class(test_features, test_label, test_id, test_attributes,cos_sim = False):\n",
    "    \n",
    "    test_data = TensorDataset(test_features, test_label)\n",
    "    test_batch = 32\n",
    "    test_loader = DataLoader(test_data, batch_size=test_batch, shuffle=False)\n",
    "    total_rewards = 0\n",
    "    #print(test_features.size())\n",
    "    sample_labels = test_id\n",
    "    sample_attributes = test_attributes\n",
    "    class_num = sample_attributes.shape[0]\n",
    "    test_size = test_features.shape[0]\n",
    "    per_class_num = np.zeros(class_num)\n",
    "    per_class_true= np.zeros(class_num)\n",
    "\n",
    "    print(\"class num:\", class_num)\n",
    "\n",
    "    for batch_features,batch_labels in test_loader:\n",
    "\n",
    "        batch_size = batch_labels.shape[0]\n",
    "        batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(class_num, 0))\n",
    "        batch_features_ext = metric_network(Variable(batch_features_ext).cuda(GPU).float())  # 32*1024\n",
    "\n",
    "\n",
    "        sample_features = metric_network(attribute_network(Variable(sample_attributes).cuda(GPU).float()))\n",
    "        sample_features_ext = sample_features.repeat(batch_size, 1)\n",
    "\n",
    "        if cos_sim:\n",
    "            relations = F.cosine_similarity(batch_features_ext, sample_features_ext).view(-1, class_num)\n",
    "        else:\n",
    "            relations = F.pairwise_distance(batch_features_ext, sample_features_ext, 2).view(-1, class_num)\n",
    "        re_batch_labels = []\n",
    "        for label in batch_labels.numpy():\n",
    "            index = np.argwhere(sample_labels == label)\n",
    "            re_batch_labels.append(index[0][0])\n",
    "        re_batch_labels_id, batch_per_num = np.unique(re_batch_labels , return_counts=True) \n",
    "        re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "        \n",
    "        for each in range(re_batch_labels_id.size):\n",
    "            #print(re_batch_labels_id[each])\n",
    "            #print(batch_per_num[each])\n",
    "            per_class_num[re_batch_labels_id[each]] = per_class_num[re_batch_labels_id[each]] + batch_per_num[each]\n",
    "        #print(re_batch_labels_id)\n",
    "        #print('-'*100)\n",
    "        #print(batch_per_num)\n",
    "        #print('-'*100)\n",
    "\n",
    "\n",
    "        _, predict_labels = torch.min(relations.data, 1)\n",
    "        for j in range(batch_size):\n",
    "            if predict_labels[j] == re_batch_labels[j]:\n",
    "                per_class_true[re_batch_labels[j]] = per_class_true[re_batch_labels[j]] + 1\n",
    "            \n",
    "        \n",
    "        \n",
    "    per_accuracy = per_class_true[np.nonzero(per_class_num)] / per_class_num[np.nonzero(per_class_num)]\n",
    "    \n",
    "\n",
    "    test_accuracy = np.sum(per_accuracy)/1.0/np.count_nonzero(per_class_num)\n",
    "    \n",
    "    #print(np.count_nonzero(per_class_num))\n",
    "    return  test_accuracy"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-19T16:09:14.323169Z",
     "start_time": "2018-10-19T14:09:21.387462Z"
    },
    "code_folding": [],
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "training...\n",
      "episode: 1 loss tensor(3.0003, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.0706991299470122\n",
      "gzsl: unseen=0.0173 , seen=0.0222 , h=0.0195\n",
      "____________________________________________________________________________________________________\n",
      "episode: 200 loss tensor(3.0001, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.1780930584666943\n",
      "gzsl: unseen=0.0620 , seen=0.4513 , h=0.1090\n",
      "____________________________________________________________________________________________________\n",
      "episode: 400 loss tensor(3.0001, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.22264395503645215\n",
      "gzsl: unseen=0.0523 , seen=0.5406 , h=0.0953\n",
      "____________________________________________________________________________________________________\n",
      "episode: 600 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.1951171892884207\n",
      "gzsl: unseen=0.0615 , seen=0.5757 , h=0.1111\n",
      "____________________________________________________________________________________________________\n",
      "episode: 800 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.22174569880709785\n",
      "gzsl: unseen=0.0586 , seen=0.5771 , h=0.1064\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1000 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.2235725884103198\n",
      "gzsl: unseen=0.0594 , seen=0.5560 , h=0.1074\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1200 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.24181260375721514\n",
      "gzsl: unseen=0.0892 , seen=0.5069 , h=0.1517\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1400 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.21133949211961925\n",
      "gzsl: unseen=0.0838 , seen=0.4340 , h=0.1405\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1600 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.1760682846282106\n",
      "gzsl: unseen=0.0918 , seen=0.3086 , h=0.1415\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1800 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.16082433599154874\n",
      "gzsl: unseen=0.0577 , seen=0.2440 , h=0.0934\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2000 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.13939755971709766\n",
      "gzsl: unseen=0.0852 , seen=0.1351 , h=0.1045\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2200 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.13169202049152212\n",
      "gzsl: unseen=0.0554 , seen=0.1454 , h=0.0803\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2400 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.10479775251560032\n",
      "gzsl: unseen=0.0358 , seen=0.0724 , h=0.0479\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2600 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.10913083399956029\n",
      "gzsl: unseen=0.0373 , seen=0.0545 , h=0.0443\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2800 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.09309827486293228\n",
      "gzsl: unseen=0.0478 , seen=0.0415 , h=0.0444\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3000 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.09376990321611917\n",
      "gzsl: unseen=0.0396 , seen=0.0430 , h=0.0412\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3200 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.09718116122821646\n",
      "gzsl: unseen=0.0386 , seen=0.0314 , h=0.0346\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3400 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08614251077911976\n",
      "gzsl: unseen=0.0569 , seen=0.0138 , h=0.0222\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3600 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08206213189864835\n",
      "gzsl: unseen=0.0380 , seen=0.0276 , h=0.0320\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3800 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.0935738978862035\n",
      "gzsl: unseen=0.0437 , seen=0.0269 , h=0.0333\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4000 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08414913709020012\n",
      "gzsl: unseen=0.0104 , seen=0.0523 , h=0.0173\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4200 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07998392313588708\n",
      "gzsl: unseen=0.0304 , seen=0.0281 , h=0.0292\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4400 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07798126832021213\n",
      "gzsl: unseen=0.0213 , seen=0.0229 , h=0.0221\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4600 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08529348765101293\n",
      "gzsl: unseen=0.0361 , seen=0.0303 , h=0.0329\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4800 loss tensor(3.0000, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07805970124639096\n",
      "gzsl: unseen=0.0229 , seen=0.0345 , h=0.0275\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08284429847495721\n",
      "gzsl: unseen=0.0179 , seen=0.0377 , h=0.0243\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08295229504294571\n",
      "gzsl: unseen=0.0555 , seen=0.0145 , h=0.0230\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08743289843624562\n",
      "gzsl: unseen=0.0424 , seen=0.0301 , h=0.0352\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 5600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08615689600662402\n",
      "gzsl: unseen=0.0344 , seen=0.0283 , h=0.0311\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08257817465851425\n",
      "gzsl: unseen=0.0278 , seen=0.0423 , h=0.0335\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07151259202542787\n",
      "gzsl: unseen=0.0591 , seen=0.0265 , h=0.0365\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08314313667901498\n",
      "gzsl: unseen=0.0223 , seen=0.0428 , h=0.0293\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.0827779320547825\n",
      "gzsl: unseen=0.0229 , seen=0.0466 , h=0.0307\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07879810370059272\n",
      "gzsl: unseen=0.0238 , seen=0.0345 , h=0.0282\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.07346546054773984\n",
      "gzsl: unseen=0.0327 , seen=0.0262 , h=0.0291\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08237448601171223\n",
      "gzsl: unseen=0.0226 , seen=0.0340 , h=0.0272\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08564107427436539\n",
      "gzsl: unseen=0.0145 , seen=0.0369 , h=0.0208\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08449047424025864\n",
      "gzsl: unseen=0.0097 , seen=0.0456 , h=0.0160\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08390643607143888\n",
      "gzsl: unseen=0.0043 , seen=0.0468 , h=0.0079\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08411436484133396\n",
      "gzsl: unseen=0.0005 , seen=0.0494 , h=0.0010\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08138575894965698\n",
      "gzsl: unseen=0.0021 , seen=0.0491 , h=0.0041\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08303330910496169\n",
      "gzsl: unseen=0.0009 , seen=0.0497 , h=0.0018\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08292675480261505\n",
      "gzsl: unseen=0.0010 , seen=0.0494 , h=0.0020\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0008 , seen=0.0494 , h=0.0016\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199200 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199400 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199600 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199800 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n",
      "episode: 200000 loss tensor(3., device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.08333333333333333\n",
      "gzsl: unseen=0.0000 , seen=0.0500 , h=0.0000\n",
      "____________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"training...\")\n",
    "last_accuracy = 0.0\n",
    "loss_zero_num = 0\n",
    "#writer = SummaryWriter()\n",
    "for episode in range(EPISODE):\n",
    "    #attribute_network.train()\n",
    "    attribute_network_scheduler.step(episode)\n",
    "    metric_network_scheduler.step(episode)\n",
    "\n",
    "    train_loader = DataLoader(train_data, batch_size=BATCH_SIZE, shuffle=True)\n",
    "\n",
    "    batch_labels, batch_features = train_loader.__iter__().next()\n",
    "    batch_id = np.unique(batch_labels)\n",
    "\n",
    "    batch_attributes = torch.Tensor([all_attributes[i] for i in batch_id]).squeeze(1)\n",
    "    batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(batch_id.size, 0))\n",
    "    batch_attributes_ext = batch_attributes.repeat(BATCH_SIZE, 1)\n",
    "\n",
    "    batch_features_ext = Variable(batch_features_ext).cuda(GPU).float()  # 32*2048\n",
    "    batch_attributes_ext = Variable(batch_attributes_ext).cuda(GPU)\n",
    "    \n",
    "\n",
    "    re_batch_labels = []\n",
    "    for label in batch_labels.numpy():\n",
    "        index = np.argwhere(batch_id == label)\n",
    "        re_batch_labels.append(index[0][0])\n",
    "    re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "    re_batch_labels = Variable(re_batch_labels).cuda(GPU)\n",
    "    \n",
    "\n",
    "    criterion = HardTripletLoss_D(margin = Margin,cos_sim =True).cuda(GPU)\n",
    "    triplet_loss= criterion(metric_network(attribute_network(batch_attributes_ext)), \n",
    "                            metric_network(batch_features_ext), re_batch_labels)\n",
    "    if triplet_loss == 0:\n",
    "        loss_zero_num = loss_zero_num + 1\n",
    "    metric_network.zero_grad()\n",
    "    attribute_network.zero_grad()\n",
    "    \n",
    "    triplet_loss.backward()\n",
    "    \n",
    "    attribute_network_optim.step()\n",
    "    metric_network_optim.step()\n",
    "    \n",
    "    if (episode+1)%200 == 0 or episode==0:\n",
    "        print(\"episode:\", episode+1, \"loss\", triplet_loss)\n",
    "        print('loss_zero_number= ',loss_zero_num)\n",
    "        #writer.add_scalar('data/loss_zero_number', loss_zero_num, episode)\n",
    "        loss_zero_num = 0\n",
    "        #writer.add_scalar('data/loss', triplet_loss, episode)\n",
    "    if (episode+1)%200 == 0 or episode==0:\n",
    "        print(\"Testing...\")\n",
    "        #attribute_network.eval()\n",
    "        zsl_accuracy = compute_accuracy_per_class(test_features, test_label, test_id, test_attributes,cos_sim =True)\n",
    "        gzsl_unseen_accuracy = compute_accuracy_per_class(test_features, test_label, np.arange(32), attributes,cos_sim =True)\n",
    "        gzsl_seen_accuracy = compute_accuracy_per_class(test_seen_features, test_seen_label, np.arange(32), attributes,cos_sim =True)\n",
    "        H = 2 * gzsl_seen_accuracy * gzsl_unseen_accuracy / (gzsl_unseen_accuracy + gzsl_seen_accuracy)\n",
    "        #H2 = 2 * gzsl_seen_accuracy2 * gzsl_unseen_accuracy2 / (gzsl_unseen_accuracy2 + gzsl_seen_accuracy2)\n",
    "        print('zsl:', zsl_accuracy)\n",
    "        #print('zsl:', zsl_accuracy2)\n",
    "        print('gzsl: unseen=%.4f , seen=%.4f , h=%.4f' % (gzsl_unseen_accuracy , gzsl_seen_accuracy, H))\n",
    "        #print('gzsl: unseen=%.4f , seen=%.4f , h=%.4f' % (gzsl_unseen_accuracy2 , gzsl_seen_accuracy2, H2))\n",
    "        print('_'*100)\n",
    "        #writer.add_scalar('data/zsl_accuracy', zsl_accuracy, episode)\n",
    "        #writer.add_scalar('data/gzsl_unseen_accuracy', gzsl_unseen_accuracy, episode)\n",
    "        #writer.add_scalar('data/gzsl_seen_accuracy', gzsl_seen_accuracy, episode)\n",
    "        #writer.add_scalar('data/H', H, episode)\n",
    "#writer.export_scalars_to_json(\"./test.json\")\n",
    "#writer.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "hide_input": false,
  "kernelspec": {
   "display_name": "pytorch",
   "language": "python",
   "name": "pytorch"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
